package cn.iocoder.yudao.module.iot.controller.app.scene.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "用户 APP - 场景条件 Response VO")
@Data
public class IotSceneConditionRespVO {

    @Schema(description = "条件ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "场景ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long sceneId;

    @Schema(description = "产品ID", example = "4")
    private Long productId;

    @Schema(description = "产品名称", example = "智能插座")
    private String productName;

    @Schema(description = "设备ID", example = "1024")
    private Long deviceId;

    @Schema(description = "设备名称", example = "客厅灯")
    private String deviceName;

    @Schema(description = "属性标识", example = "temperature")
    private String attr;

    @Schema(description = "属性值", example = "20")
    private String value;

    @Schema(description = "租户编号", example = "1")
    private Long tenantId;

    @Schema(description = "创建时间")
    private java.time.LocalDateTime createTime;

    @Schema(description = "更新时间")
    private java.time.LocalDateTime updateTime;

    @Schema(description = "创建者", example = "admin")
    private String creator;

    @Schema(description = "更新者", example = "admin")
    private Integer updater;

    @Schema(description = "顺序", example = "1")
    private Integer orderNum;

    @Schema(description = "是否删除", example = "0")
    private String deleted;

    @Schema(description = "操作符", example = ">=")
    private String operator;

    @Schema(description = "条件类型", example = "TIMER")
    private String conditionType;

    @Schema(description = "条件值", example = "22:00")
    private String conditionValue;

    @Schema(description = "优先级", example = "1")
    private String priority;

    @Schema(description = "编解码类型", example = "json")
    private String codecType;

} 